package com.fang.networkdisk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fang.common.common.CommonPage;
import com.fang.networkdisk.entity.bo.RoleBo;
import com.fang.networkdisk.entity.po.TbNetDisRole;

/**
 * <p>
 * 用户角色表 服务类
 * </p>
 *
 * @author Bernie_fang
 * @since 2024-12-07
 */
public interface TbNetDisRoleService extends IService<TbNetDisRole> {

    CommonPage queryRole(RoleBo RoleBo);

    TbNetDisRole findRoleByIdentifier(String url);

    int addRole(RoleBo RoleBo);

    int updateRoleById(RoleBo RoleBo);

    int deleteRoleById(Integer id, String authorId);


}
